﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp19
{

    public class Strawberry : ISwim, IClimbTree
    {


        void IClimbTree.Cat()
        {
            Console.WriteLine("我可以用我的爪子爬树");
        }

        void ISwim.Dog()
        {
            Console.WriteLine("我会狗爬式游泳");
        }

        void IClimbTree.Monkey()
        {
            Console.WriteLine("我可以用我长长的手臂爬树");
        }
    }
    public class DelStrawberry : ISwim, IClimbTree
    {
        public void Cat()
        {
            Console.WriteLine("我不会游泳");
        }

        public void Dog()
        {
            Console.WriteLine("我不会爬树");
        }

        public void Monkey()
        {
            Console.WriteLine("我会溺水的");
        }
    }
}